Skip to main content

TsgDXFInsert

Unit: DXFConv

Description

This class defines a block insert (entity INSERT). This is an instance of a specific block in the drawing. Drawing can has as many Insert for one block. Use Entities property to obtain an entity in the collection.

Syntax

TsgDXFInsert = class(TsgDXFCustomVertex)

Properties

PropertiesDescription
AngleThe property sets or gets a rotation angle.
AttribsThe property returns a list of the TsgDXFAttrib entities.
BlockThe property sets or gets inserted block.
ExtrusionThe property displays direction to local axis z.
OwnerThe property for nested block references, points to the TsgDXFInsert object whose block contains this block reference.
ScaleThe property contains scale in the X , Y and Z directions.
Derived from TsgDXFCustomVertexDescription
PointThe property contains coordinates of the vertex.
Derived from TsgDXFEntityDescription
BoxThe property determines the 3d box embraced the entity.
ColorThe property gets or sets entity color.
ColorCADThe property gets or sets a color for drawing entities.
ComplexThe property determines whether a entity is populated with child entities.
ConverterThe property returns the TsgDXFConverter class object.
CountThe property indicates the total number of child entities.
EntitiesThe property lists all child entities.
EntTypeThe property indicates type of an entity.
HandleThe property is used for finding entity links.
LayerThe property points to layer, containing given primitive if this layer is given.
LineTypeThe property sets and gets line type for an entity.
LineTypeScaleThe property sets and gets the Linetype scale.
LineWeightThe property sets or gets line weight in millimeters.
PaperSpaceThe property indicates Model Space and Paper Space entity segregation.
SrcEndThe property indicates end position of the entity description in the source CAD file.
SrcStartThe property indicates start position of the entity description in the source CAD file.
VisibilityThe property sets and gets entities visibility.
VisibleThe property determines whether the component appears onscreen.

Methods

MethodsDescription
AssignEntityThe method copies properties of source entity to current entity.
AttribThe method returns the ATTRIB entity with given tag specified by S, and its insertion point.
CreateCreates an instance of the TsgDXFInsert class object.
DestroyFrees up all internal objects before destroying this object.
EntNameThe method returns TsgDXFBlock.Name or returns TsgDXFEntity.EntName.
FindBlockThe method returns the TsgDXFBlock entity specified by the AName parameter if exists.
GetMatrixThe method returns a coordinate-transformation matrix.
RealColorThe method inserts a specified entity to a list at a position specified by AIndex.
RealLayerThe method returns AColor.
Derived from TsgDXFEntityDescription
CloneThe method copies properties of source entity to current entity (include Handle).
DrawThe method generates the OnDraw event.
GetBoxPointsThe method is used in drawing cycle for fast checking whether the entity must be drawn.
GetThicknessThe method returns entity's thickness.
SetLTypeThe method sets line type of the entity.
SetLWeightThe method sets line weight width of the entity.

Events

Derived from TsgDXFEntityDescription
OnDrawThe event occurs when the Draw method is called.